<div class="drag-upload" #container>
  <input type="file" #fileInput class="file-input" [attr.accept]="accept" [multiple]="multiple" (change)="onChange($event)">
  <div class="drag-upload-content">
    <ng-content></ng-content>
    <div class="drag-upload-message" *ngIf="message">
      <i class="anticon anticon-close-circle-o"></i>
      <div class="message-description">{{message}}</div>
      <a class="close-icon" (click)="closeMessage($event)">重新选择文件</a>
    </div>
  </div>
  <div class="drag-drop-area" 
  (dragenter)="onDragEnter($event)"
  (dragover)="onDragOver($event)"
  (drop)="onDrop($event)"></div>
</div>
